package com.ruoyi.consumables.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 领用记录对象 receive_record
 * 
 * @author ruoyi
 * @date 2023-04-22
 */
public class ReceiveRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 领取记录 */
    private Long receiveId;

    /** OA编号 */
    @Excel(name = "OA编号")
    private String receiveOaNumber;

    /** 领取工号 */
    @Excel(name = "领取工号")
    private String receiveUserId;

    /** 领取人 */
    @Excel(name = "领取人")
    private String receiveUser;

    /** 领取部门 */
    @Excel(name = "领取部门")
    private String receiveDepartment;

    /** 领取数量 */
    @Excel(name = "领取数量")
    private String receiveCount;

    /** 领取状态 */
    @Excel(name = "领取状态")
    private String receiveStatus;

    /** 领取时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receiveTime;

    public void setReceiveId(Long receiveId) 
    {
        this.receiveId = receiveId;
    }

    public Long getReceiveId() 
    {
        return receiveId;
    }
    public void setReceiveOaNumber(String receiveOaNumber) 
    {
        this.receiveOaNumber = receiveOaNumber;
    }

    public String getReceiveOaNumber() 
    {
        return receiveOaNumber;
    }
    public void setReceiveUserId(String receiveUserId) 
    {
        this.receiveUserId = receiveUserId;
    }

    public String getReceiveUserId() 
    {
        return receiveUserId;
    }
    public void setReceiveUser(String receiveUser) 
    {
        this.receiveUser = receiveUser;
    }

    public String getReceiveUser() 
    {
        return receiveUser;
    }
    public void setReceiveDepartment(String receiveDepartment) 
    {
        this.receiveDepartment = receiveDepartment;
    }

    public String getReceiveDepartment() 
    {
        return receiveDepartment;
    }
    public void setReceiveCount(String receiveCount) 
    {
        this.receiveCount = receiveCount;
    }

    public String getReceiveCount() 
    {
        return receiveCount;
    }
    public void setReceiveStatus(String receiveStatus) 
    {
        this.receiveStatus = receiveStatus;
    }

    public String getReceiveStatus() 
    {
        return receiveStatus;
    }
    public void setReceiveTime(Date receiveTime) 
    {
        this.receiveTime = receiveTime;
    }

    public Date getReceiveTime() 
    {
        return receiveTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("receiveId", getReceiveId())
            .append("receiveOaNumber", getReceiveOaNumber())
            .append("receiveUserId", getReceiveUserId())
            .append("receiveUser", getReceiveUser())
            .append("receiveDepartment", getReceiveDepartment())
            .append("receiveCount", getReceiveCount())
            .append("receiveStatus", getReceiveStatus())
            .append("receiveTime", getReceiveTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
